" 持久性撤销
set undofile
let s:dir = $HOME . '/.vim/undodir'
if !isdirectory(s:dir)
    call mkdir(s:dir,"p")
endif
let &undodir = s:dir
